//
//  CCYTitleView.m
//  模拟-百思不得姐
//
//  Created by 程春玉 on 16/8/9.
//  Copyright © 2016年 colin. All rights reserved.
//

#import "CCYTitleView.h"

@implementation CCYTitleView

+ (instancetype)viewDidLoad
{
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil] lastObject];
}



- (void)setMessageWithDic:(NSDictionary *)dic
{
    self.post_number.text = dic[@"post_number"];
    self.sub_number.text = dic[@"sub_number"];
    [self.imgV sd_setImageWithURL:[NSURL URLWithString:dic[@"image_detail"]]];
}


@end
